<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
			{if $status eq "closed"}
				<div style="color:red; font-weight:bold; text-align:center">
					{$config.closed_message|stripslashes}
				</div>
   		{else}
   			<div style="color:red; font-weight:bold; text-align:center">
   				{$error}
   			</div>
   			{$page_content}
   		{/if}
   	</td>
	</tr>
</table>

{if $smarty.session.delivery_chosen ne 1}
	{literal}
		<script>
    		$(function() {
      		$( "#deliver_popup" ).dialog('open');
    		});
  		</script>
  	{/literal}
{/if}
